package com.heima.model.behavior.dtos;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class ReadBehaviorDTO {
    /**
     * 设备ID
     */
    Integer equipmentId;
    /**
     * 文章、动态、评论等ID
     */
    @NotBlank(message = "文章id不能为空")
    Long articleId;
    /**
     * 阅读次数
     */
    Short count;
}